package org.mics.hikariMonitor.vo;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 监听数据情况
 * @author mics
 * @date 2022-7-22
 * @version  1.0
 */
@Data
@Schema(description = "监听数据情况")
public class MonitorDataVO implements Serializable{
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = 6244769904949692533L;

	@Schema(description = "时间")
	private String dateStr;
	
	@Schema(description = "总连接数")
   	private BigDecimal totalConnection;
    
	@Schema(description = "激活连接数")
   	private BigDecimal activeConnection;
    
	@Schema(description = "空闲连接数")
   	private BigDecimal idleConnection;
    
	@Schema(description = "等待中连接数")
    private BigDecimal threadAwaitingConnection;
}
